<?php

namespace Tests\Feature;

use Tests\TestCase;

class TelephoneControllerTest extends TestCase
{
  public static function setUpBeforeClass(): void
  {
    self::$model = 'App\Models\Telephone';
    self::$table = 'telephones';
    self::$searchExpr = 'number=[lk]361691';
    self::$searchRecord = ['user_id', '=', '1', 'type_id', '=', '4'];
    self::$toIns = [
      'user_id' => 3,
      'type_id' => 5,
      'international_prefix' => '+39',
      'prefix' => '050',
      'number' => '560572',
    ];
    self::$searchToUpd = ['user_id', '=', '3', 'type_id', '=', '5'];
    self::$toUpd = ['number' => '2320250'];
    self::$searchToDel = ['user_id', '=', '3', 'type_id', '=', '5'];
  }
}
